package com.neusoft.demo.server;

import com.neusoft.demo.mapper.BusinessMapper;
import com.neusoft.demo.pojo.Business;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BusinessServer {
    @Autowired(required = false)
    BusinessMapper businessMapper;

    public Business businessLogin(String bname,String pwd){
        return businessMapper.BusinessLogin(bname,pwd);
    }
    public java.util.List<Business> BusinessList(){
        return businessMapper.BusinessList();
    }
}
